Aurora Partner Web Service
API Enhancement Summary
API Enhancement Summary – Mule API Version 2
Release Version: 2.0
Change Type: Enhancement
Status: Implemented
✅ Enhancements Added in API Version 2
The following enhancements have been introduced in Mule API Version 2 to improve pricing calculations and support internationalization:
- New Fields in Response Payload:Gross Price (grossPrice)A new field added to the response payload to represent the total price before applying any promotions or discounts.
- Net Price (netPrice)A calculated field representing the price after applying all promotions. Calculation Formula: NetPrice = GrossPrice × ((100 + PromotionValue) / 100) + AdditionalPromotionGrossPrice: Base price before discounts.PromotionValue: Percentage value of the primary promotion.AdditionalPromotion: A flat-value promotion applied on top of the calculated discount.
- Additional Promotion Price (additionalPromotion) A new field representing an additional flat promotional discount added on top of the calculated net price.
- New URL Parameter: currency A new query parameter named currency has been introduced to allow the caller to specify the currency for pricing.
Example usage: api/service?voyage=SVD004S¤cy=USD
The API will return prices formatted according to the requested currency, supporting international pricing.